home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 June
/
EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso
/
earcd
/
utilwb
/
mwb_potd.lha
/
MWB_POTD
/
MWB_POTD.doc
next >
Wrap
Text File
|
1996-04-12
|
4KB
|
102 lines
Magic Workbench "Pattern of the Day" Auto-exchange Script
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
by Simon Parkinson
V1.02 - April 11/96
WARNING: This script file is provided "AS IS". Use, and modification
of this script file is AT YOUR OWN RISK. The author is not
responsible for lost, damaged, or deleted data, or hardware damage(s).
MAKE FULL BACKUPS OF ALL DATA BEFORE USING THIS SCRIPT!!!!!!!!!!!!!
Inspiration:
The inspiration for the little script came just after downloading
Brian Jeffery's BJ_Lingerie.lha and BJ_Swimsuit.lha from pix/mwb on
Aminet. These 8 and 16 color MWB patterns were quickly thrown onto
my Workbench. However, I quickly got tired of reloading the individual
patterns through prefs. I wrote the MWB_POTD script file to automatically
change the background pattern on my A3000 workbench during every midnight
maintenance cycle on my BBS. However, this will also work on every
reboot if you like.
How to install:
In my case, I took the patterns from BJ's files and renamed the
lingerie pics BJ1, BJ3, BJ5, BJ7, etc. I renamed the swimsuit pics
BJ2, BJ4, BJ6, BJ8, etc. This was so I would have a lingerie/swimsuit/
lingerie/swimsuit order to the shuffle. You can name the patterns you
have in whatever order suits your tastes.
Copy all the newly named BJ files into your Workbench:Prefs/Patterns
directory.
Now rename the highest number BJ pattern to be called "POTD"
with no quotes. This will be the first pattern to be displayed.
Go to your Workbench Prefs and select your pattern program (I use
WBPicture). Select Workbench:Prefs/Patterns/POTD as your pattern and
save it.
If you are like me and run your own BBS system you just take the
contents of the Script_File and append it to the end of your BBS
maintenance script file using any good quality text editor. This will
execute the shuffle of the patterns automatically every midnight
maintenance. Note that the pattern will not change on the WB unless
you reboot your computer, but when you do, a new WB Pattern will be
there. Parkinson's First Law: "A change in eye-candy takes the edge
off of the occasional GURU."
If you want the script to execute at every boot, put the
contents of the Script_file into your S/User-startup file using your
text editor of choice.
Edit the script file to match the number of BJ# files you have
in your prefs/pattern directory. You can increase or decrease the
number of patterns as required, BUT make sure the first two lines,
and the last line of the script are accurate. These lines are the
heart of the shuffle!
Reboot your computer. If you set it up in your S/User-startup,
then you should see a new pattern on the screen. Otherwise you may
not see anything until your next Midmaint if on a BBS.
What happens:
Whenver your shuffle occurs, the POTD pattern becomes TEMP which
is just a temporary place to store the top file for the reshuffle.
Then the pictures rename themselves in order (highest number to
lowest number). The TEMP pattern then renames itself as BJ1, and is
effectively put back at the bottom of the stack.
Problems: This is a very simple script and chances are you will have no
problems. If you do, review the instructions above (RTFM!!!).
Make sure the number of patterns equals the number of listings in
the script.
Did you rename your highest BJ pattern POTD, and did you set POTD
in the file selection of the WB Prefs?
Finale:
Thats all folks... Contact me at the below address. Feel free
to send me any patterns. (UUencoded only please). Later.
Simon
-----------------------------------------------------------------------
| Simon Parkinson - Dragon Games | dragon@fox.nstn.ca | |^^| |
| PO Box 916, Greenwood, | Lair of the Wolverine BBS | O O \> |
| Nova Scotia, Canada | Play by Mail Gaming | ^ ^ /\> |
| B0P 1N0 TEL/FAX (902)765-3337 | (902)765-2978 24/7 28.8K | \_/\ \>|
-----------------------------------------------------------------------